<?php

namespace Tuobaye\FilamentAdmin;

class PermissionMap
{
    public array $permissions = [];

    public bool $hasSet = false;

    public function setPermissions(array $permissions): void
    {
        $this->permissions = $permissions;
        $this->hasSet = true;
    }

    public function getPermissions(): array
    {
        return $this->permissions;
    }

}
